package com.huaxiafinance.management.mapper;

import com.huaxiafinance.management.model.Dict;
import com.huaxiafinance.management.model.DictExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DictMapper {
	int countByExample(DictExample example);

	int deleteByExample(DictExample example);

	int deleteByPrimaryKey(Integer dict_id);

	int insert(Dict record);

	int insertSelective(Dict record);

	List<Dict> selectByExample(DictExample example);

	Dict selectByPrimaryKey(Integer dict_id);

	int updateByExampleSelective(@Param("record") Dict record, @Param("example") DictExample example);

	int updateByExample(@Param("record") Dict record, @Param("example") DictExample example);

	int updateByPrimaryKeySelective(Dict record);

	int updateByPrimaryKey(Dict record);

	List<Dict> queryDictList(String dictParentCode);
	
	List<Dict> queryProduct();
}